home *** CD-ROM | disk | FTP | other *** search
/ Merciful 1 / Merciful - Disc 1.iso / software / p / power_base / powerbasev3.4a.dms / in.adf / PowerBase / Fieldcalc.hlp < prev    next >
Encoding:
Text File  |  1978-01-13  |  2.7 KB  |  89 lines

  1. Field Calculation Help
  2. ~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. Field calculation allows the automatic creation of fields from others, or by
  5. using the six built in constants or any numeric values.
  6.  
  7. To use this feature : when setting up your fields with the field setup
  8. utility, select the calculated field type for one of the fields.
  9. You will then be asked to enter the calculation you wish to perform to
  10. generate this field.
  11.  
  12. Any number of calculated fields can be used (all 20 if necessary!).
  13.  
  14. When you are entering the calculation F1 stands for field 1 , F2 for field 2
  15. ... F20 for field 20 etc.
  16.  
  17. This version supports  + - / *  operators.
  18. (Brakets are not supported and calculations are limited to operations on
  19. two values).
  20.  
  21. To add the contents of field 1 and field 2 simply enter :-
  22.  
  23.  F1+F2
  24.  
  25. To multiply field 3 by field 5 simply enter :-
  26.  
  27.  F3*F5
  28.  
  29. To add 5 to field 2 enter :-
  30.  
  31.  F2+5
  32.  
  33. To divide field 2 by 10 enter :-
  34.  
  35.  F2/10
  36.  
  37.  
  38. Along with the fields F1 to F20 and numeric values e.g 3,10,4.5 etc. constants
  39. can also be used in the calculations.  Six are provided including one for
  40. V.A.T.  These constants are saved with your database files and the VAT
  41. constant is also saved in the preferences information file.
  42.  
  43. To change a constant click on the required constant box and enter the new
  44. value.  (Use the decimal places option in preferences if you need greater
  45. accuracy,  e.g. you will need 3 decimal places to store 1.175)
  46.  
  47. To add constant 2 to field 3 enter :-
  48.  
  49.  F3+CON2
  50.  
  51. To add VAT to field 5 enter :-
  52.  
  53.  F5*VAT          (17.5% VAT should be entered as 1.175)
  54.  
  55. To subtract constant 4 from field 1 enter:-
  56.  
  57.  F1-CON4
  58.  
  59.  
  60.  
  61. As you can see the field calculation feature is very powerful and can
  62. generate fields automatically.
  63.  
  64. For example if you are using PowerBase to keep track of a painting and
  65. decorating business then you could enter the area of the job in field 1 ,
  66. the rate you charge per unit area in constant 2 and the current VAT rate in
  67. the VAT constant (remembering to enter 17.5% VAT as 1.175).
  68.  
  69. Then field 2 could be a calculated field :  F1*CON2
  70. (the area of the job * your rate per unit area) = cost of job
  71.  
  72. Field 3 could be the cost of the job (field 2) * VAT (giving a final price)
  73.  
  74. F2*VAT
  75.  
  76.  
  77. Using the field calculation method you only need enter the area of the job
  78. and the rest of the details in each record could be calculated automatically
  79. from the calculation you provide.
  80.  
  81. To alter a calculation simply go the field setup utility and move to the
  82. calculated field you wish to change and click on the calculation , this will
  83. allow you to alter it.
  84.  
  85. Calculated fields are extremely flexible and powerful.
  86.  
  87. YOU CAN EVEN SORT / SEARCH AND FILTER CALCULATED FIELDS!!!
  88. In fact you can perform all operations on a calculated field.
  89.